<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>主题表单</title>
</head>
<body>
    <p>{% extends "learning_logs/base.html" %}</p>
    {% load bootstrap3 %}
    {% block header %}
        <h2>Add a new topic:</h2>
    {% endblock header %}

    {% block content %}


        <form action="{% url 'll:new_topic' %}" method="post" class="form">
            {% csrf_token %}
{#            {{ form.as_p }}#}


            {% bootstrap_form form %}


            {% buttons %}
                <button name="submit" class="btn btn-primary">add topic</button>
            {% endbuttons %}
        </form>



    {% endblock content %}

</body>
</html>